package com.yisu.expressway.api.core.mapper;

import com.yisu.expressway.api.domain.request.GoodsInfoRequest;
import com.yisu.expressway.ewf.entity.GoodsSpecification;

import java.util.List;

public interface GoodsSpecificationMapper {
    int deleteByPrimaryKey(Long specificationNo);

    int insert(GoodsSpecification record);

    GoodsSpecification selectByPrimaryKey(Long specificationNo);

    int updateByPrimaryKey(GoodsSpecification record);

    List<String> getSpecificationGroupNameByGoodsNoAndCategoryCode(GoodsInfoRequest goodsInfoRequest);

    String selectNodePathByPrimaryKey(Long specificationNo);

    List<GoodsSpecification> getSpecificationListByGoodsNoAndCategoryCode(GoodsInfoRequest goodsInfoRequest);

    List<GoodsSpecification> getChildListByGoodsNoAndCategoryCode(GoodsInfoRequest goodsInfoRequest);
}